package model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("plt_user_info")
public class UserInfo extends BaseModel<UserInfo>{

    // 用户ID
    @TableField("user_id")
    private String userId;

    // 工号
    @TableField("job_no")
    private String jobNo;

    // 用户状态
    @TableField("user_status")
    private String userStatus;

    // 用户姓名
    @TableField("user_nm")
    private String userNm;

    // 密码
    @TableField("password")
    private String password;

    // 角色
    @TableField("role")
    private String role;

    // 组织机构代码
    @TableField("cst_no")
    private String cstNo;


    // Getters and Setters


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getJobNo() {
        return jobNo;
    }

    public void setJobNo(String jobNo) {
        this.jobNo = jobNo;
    }

    public String getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(String userStatus) {
        this.userStatus = userStatus;
    }

    public String getUserNm() {
        return userNm;
    }

    public void setUserNm(String userNm) {
        this.userNm = userNm;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getCstNo() {
        return cstNo;
    }

    public void setCstNo(String cstNo) {
        this.cstNo = cstNo;
    }

}
